package com.example.springboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.springboot.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<User> {


    List<User> selectByMo(@Param("username") String username, @Param("name") String name);

    int selectCountByPage(@Param("username") String username, @Param("name") String name);

    User selectByUsername(@Param("username") String username);
}


